-
Home
-
Travelpayouts: All Travel Brands in One Place
-
1.0.15
-
Code
-
Classes
- Model
Total Complexity |
93 |
Dependencies |
13 |
Dependents |
1 |
Total lines |
640 |
Lines of code |
271 |
Logical lines of code |
140 |
Comment lines |
269 |
Methods |
35 |
Properties |
4 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
scenarios() |
B |
46 |
17 |
41 |
get_active_validators() |
S |
54 |
7 |
20 |
validate() |
S |
53 |
6 |
22 |
safe_attributes() |
S |
59 |
5 |
14 |
set_attributes() |
S |
63 |
5 |
10 |
active_attributes() |
S |
59 |
4 |
14 |
get_attributes() |
S |
61 |
4 |
13 |
add_errors() |
S |
65 |
4 |
9 |
create_validators() |
S |
62 |
4 |
10 |
getErrors() |
S |
70 |
3 |
6 |
notifyErrors() |
S |
59 |
2 |
15 |
attributes() |
S |
63 |
3 |
10 |
get_validators() |
S |
71 |
2 |
6 |
camel2words() |
S |
65 |
2 |
8 |
get_attribute_label() |
S |
74 |
2 |
4 |
clear_errors() |
S |
71 |
2 |
6 |
get_error() |
S |
78 |
2 |
3 |
has_errors() |
S |
70 |
2 |
6 |
offsetExists() |
S |
80 |
1 |
3 |
fields() |
S |
76 |
1 |
4 |
getIterator() |
S |
76 |
1 |
4 |
offsetGet() |
S |
82 |
1 |
3 |
offsetSet() |
S |
81 |
1 |
3 |
set_scenario() |
S |
81 |
1 |
3 |
rules() |
S |
82 |
1 |
3 |
get_scenario() |
S |
82 |
1 |
3 |
after_validate() |
S |
91 |
1 |
2 |
before_validate() |
S |
82 |
1 |
3 |
is_attribute_safe() |
S |
79 |
1 |
3 |
getExtraAttributes() |
S |
73 |
1 |
5 |
extraAttributes() |
S |
82 |
1 |
3 |
generate_attribute_label() |
S |
79 |
1 |
3 |
attribute_labels() |
S |
82 |
1 |
3 |
add_error() |
S |
80 |
1 |
3 |
offsetUnset() |
S |
81 |
1 |
3 |